﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Resources.ResourcesListManage" %>
<div id="Body">
	<div id="CommonCenter">
		<div id="Center9001">
			<div id="Title">
				<div class="H1">Resources Administration</div>
				<div class="Menu"><a href="/resources/admin/reslistadmin.htm"><%if(Page.Request.RawUrl.ToLower().IndexOf("/resources/admin/reslistadmin.htm")>-1){%><strong>Resources List</strong><%} else{%>Resources List<%}%></a> | <a href="/resources/admin/resdetail.htm"><%if(Page.Request.RawUrl.ToLower().IndexOf("/resources/admin/resdetail.htm")>-1){%><strong>Add a New Resource</strong><%} else{%>Add a New Resource<%}%></a></div>
			</div>
			<div id="Center9001Left">
			</div>
			<div id="Center9001Right">
				<div id="Center9001Content">
					<p>
					    <strong>Category:</strong><br />
					    <select id="SelectCat" class="common300">
					        <option value="100">All</option><option value="0">没有分类的。。</option><%=GetResourceCatSelect("")%>
					    </select>					    
					</p>
					<p>
					    <strong>For learning:</strong><br />
					    <select id="SelectLearn" class="common300">
					        <%if (AdminAllLearn==true) {%>
					        <option value="">All</option><%=GetLanguageSelect("")%>
					        <%}
                            else{%>
                            <option value="<%=LearnLan %>"><%=GetLanguageText(LearnLan)%></option>
                            <%} %>
					    </select>
					</p>
					<p>
					    <strong>Base language:</strong><br />
					    <select id="SelectBase" class="common300">
					        <%if (AdminAllBase==true) {%>
					        <option value="">All</option><%=GetLanguageSelect("")%>
					        <%}
                            else{%>
                            <option value="<%=BaseLan %>"><%=GetLanguageText(BaseLan)%></option>
                            <%} %>
					    </select>
					</p>
					<p>
					    <strong>Status</strong><br />
                        <input id="RInactive" type="radio" value="0" name="IsActive" checked="checked" />
                        <label for="RInactive">Inactive</label> 
                        <input id="RActive" type="radio" name="IsActive" value="1" />
                        <label for="RActive">Active</label>
					</p>
					<p>
					    <input type="button" id="btnSubmit" class="button" value="Browse" onclick="Browse()" />
					</p>
					
					<div id="ResList" style="display:none">
					<ul>
					    <li>
					        <a href='/resources/admin/resdetail.htm?ResID=$ResID$'>$Name$-$Url$</a> - $Description$
					    </li>
					</ul>
					</div>
					<div id="NoResource" style="display:none">
					    没有数据
					</div>
					<div id="divPage" class="Content628 DisplayNone"></div>					
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<div id="ResListItem" style="display:none">
<ul>
    <li>
        <a href='/resources/admin/resdetail.htm?ResID=$ResID$'>$Name$-$Url$</a> - $Description$
    </li>
</ul>
</div>